package com.ruoyi.orderParent.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * ${subTable.functionName}对象 sys_order
 * 
 * @author ruoyi
 * @date 2024-06-24
 */
public class SysOrder extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 订单号 */
    @Excel(name = "订单号")
    private String number;

    /** 候选人昵称 */
    @Excel(name = "候选人昵称")
    private String cdName;

    /** 身份证号 */
    @Excel(name = "身份证号")
    private String idNumber;

    /** 手机号 */
    @Excel(name = "手机号")
    private String phone;

    /** 证书编号 */
    @Excel(name = "证书编号")
    private String certificate;

    /** 套餐单价 */
    @Excel(name = "套餐单价")
    private BigDecimal amount;

    /** 授权种类 */
    @Excel(name = "授权种类")
    private Long authorizationType;

    /** 支付状态 0未支付 1已支付 */
    @Excel(name = "支付状态 0未支付 1已支付")
    private Long payStatus;

    /** 订单状态 0发起被调1待授权2背调中 3已出报告 */
    @Excel(name = "订单状态 0发起被调1待授权2背调中 3已出报告")
    private Long orderStatus;

    /** 订单结果1待出具2无风险3低风险4中风险5高风险 */
    @Excel(name = "订单结果1待出具2无风险3低风险4中风险5高风险")
    private Long orderOutcome;

    /** 商户id */
    @Excel(name = "商户id")
    private Long storeId;

    /** 商户名称 */
    @Excel(name = "商户名称")
    private String storeName;

    /** 代理商id */
    @Excel(name = "代理商id")
    private Long agentId;

    /** 报告路径 */
    @Excel(name = "报告路径")
    private String reportUrl;

    /** 套餐id */
    @Excel(name = "套餐id")
    private Long setmealId;

    /** 批量id */
    @Excel(name = "批量id")
    private Long parentId;

    /** 用户id */
    @Excel(name = "用户id")
    private Long userId;

    /** 部门id */
    @Excel(name = "部门id")
    private Long deptId;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setNumber(String number) 
    {
        this.number = number;
    }

    public String getNumber() 
    {
        return number;
    }
    public void setCdName(String cdName) 
    {
        this.cdName = cdName;
    }

    public String getCdName() 
    {
        return cdName;
    }
    public void setIdNumber(String idNumber) 
    {
        this.idNumber = idNumber;
    }

    public String getIdNumber() 
    {
        return idNumber;
    }
    public void setPhone(String phone) 
    {
        this.phone = phone;
    }

    public String getPhone() 
    {
        return phone;
    }
    public void setCertificate(String certificate) 
    {
        this.certificate = certificate;
    }

    public String getCertificate() 
    {
        return certificate;
    }
    public void setAmount(BigDecimal amount) 
    {
        this.amount = amount;
    }

    public BigDecimal getAmount() 
    {
        return amount;
    }
    public void setAuthorizationType(Long authorizationType) 
    {
        this.authorizationType = authorizationType;
    }

    public Long getAuthorizationType() 
    {
        return authorizationType;
    }
    public void setPayStatus(Long payStatus) 
    {
        this.payStatus = payStatus;
    }

    public Long getPayStatus() 
    {
        return payStatus;
    }
    public void setOrderStatus(Long orderStatus) 
    {
        this.orderStatus = orderStatus;
    }

    public Long getOrderStatus() 
    {
        return orderStatus;
    }
    public void setOrderOutcome(Long orderOutcome) 
    {
        this.orderOutcome = orderOutcome;
    }

    public Long getOrderOutcome() 
    {
        return orderOutcome;
    }
    public void setStoreId(Long storeId) 
    {
        this.storeId = storeId;
    }

    public Long getStoreId() 
    {
        return storeId;
    }
    public void setStoreName(String storeName) 
    {
        this.storeName = storeName;
    }

    public String getStoreName() 
    {
        return storeName;
    }
    public void setAgentId(Long agentId) 
    {
        this.agentId = agentId;
    }

    public Long getAgentId() 
    {
        return agentId;
    }
    public void setReportUrl(String reportUrl) 
    {
        this.reportUrl = reportUrl;
    }

    public String getReportUrl() 
    {
        return reportUrl;
    }
    public void setSetmealId(Long setmealId) 
    {
        this.setmealId = setmealId;
    }

    public Long getSetmealId() 
    {
        return setmealId;
    }
    public void setParentId(Long parentId) 
    {
        this.parentId = parentId;
    }

    public Long getParentId() 
    {
        return parentId;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setDeptId(Long deptId) 
    {
        this.deptId = deptId;
    }

    public Long getDeptId() 
    {
        return deptId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("number", getNumber())
            .append("cdName", getCdName())
            .append("idNumber", getIdNumber())
            .append("phone", getPhone())
            .append("certificate", getCertificate())
            .append("amount", getAmount())
            .append("authorizationType", getAuthorizationType())
            .append("payStatus", getPayStatus())
            .append("orderStatus", getOrderStatus())
            .append("orderOutcome", getOrderOutcome())
            .append("storeId", getStoreId())
            .append("storeName", getStoreName())
            .append("agentId", getAgentId())
            .append("reportUrl", getReportUrl())
            .append("setmealId", getSetmealId())
            .append("parentId", getParentId())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .append("userId", getUserId())
            .append("deptId", getDeptId())
            .toString();
    }
}
